/**
* Copyright (c) 2016-2100 yunclouds
*/
package com.yunqian.redot.domain;

import com.yunqian.model.BaseModel;
import com.yunqian.redot.constant.Tables;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 业务数据内容数据表（有顺序图或文字）
 *
 * @author zsy
 * 2018-09-29 15:53:53
 */
@Data
@Entity
@Table(name = Tables.CONTENTS)
@EqualsAndHashCode(callSuper = false)
public class Contents extends BaseModel<Long>{
    
    /**状态*/
    @Column(name = "status")
    private Integer status = 1;
    /**备注*/
    @Column(name = "remark")
    private String remark;
    /**排序号*/
    @Column(name = "sort_num")
    private Integer sortNum;
    /**名称*/
    @Column(name = "details")
    private String details;
    /**类型 1-图 2-文字*/
    @Column(name = "type")
    private Integer type;
    /**关联业务表(1展馆介绍...) 届时约定枚举型*/
    @Column(name = "relate_business")
    private Integer relateBusiness;
    /**关联业务id*/
    @Column(name = "relate_id")
    private Long relateId;


    public Contents() {
    }

}
